<div class="content">
	<div class="title">
	<h2>教师注册</h2>
	</div>
	<div class="register">
		<form id="RegisterForm" action="<?php echo $this->url(
    array(
        'controller' => 'index',
        'action'     => 'teacherregister'
    ),
    'default',
    true) ?>"method="post" >
     	 <h3>学院:</h3><select name="college">
     	 <?php
     	 	foreach ($this->collegearray as $key=>$value)
     	 	{
     	 	    echo '<option value='.$key.'>'.$value.'</option>';
     	 	} 
     	 ?>
     	 </select><h5><?php if($this->tipcollege!='')echo $this->tipcollege;?></h5>
     	 <h3>昵称(账号):</h3><input type="text" name="nickname" id="nickname"/><h5><?php if($this->tipnickname!='')echo $this->tipnickname;?></h5>
     	 <h3>真实姓名:</h3><input type="text" name="realname" id="realname"/><h5><?php if($this->tiprealname!='')echo $this->tiprealname;?></h5>
     	 <h3>激活邮箱:</h3><input type="text" name="mail" id="mail"/><h5><?php if($this->tipmail!='')echo $this->tipmail;?></h5>
     	 <h3>登录密码:</h3><input type="password" name="password" id="password"/><h5><?php if($this->tippassword!='')echo $this->tippassword;?></h5>
     	 <h3>确认密码:</h3><input type="password" name="confirmpassword" id="confirmpassword"/><h5><?php if($this->tipconfirmpassword!='')echo $this->tipconfirmpassword;?></h5>
		<button type="submit"></button>
		</form>
	</div>
	<div class="registerside">
	</div>
</div>